/**
 * @author ryuji
 * Created on 2007. 5. 25
 */


package frame;

import javax.swing.JFrame;
import javax.swing.JMenuBar;
import javax.swing.WindowConstants;

public class MyFrame extends JFrame {
    private JMenuBar menuBar;
    
    public MyFrame() {
        this.setSize(600, 600);
        this.setLocation(100, 100);
        
        menuBar = new MyMenu();
        this.setJMenuBar(menuBar);
        
        this.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
        setVisible(true);
    }

}

;